﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NearForums.Validation;

namespace NearForums
{
    public class AskTags:Entity
    {
        public AskTags()
        { }

        public AskTags(int id, string name) : this() 
        {
            this.ID = id;
            this.Name = name;
        }

        public int ID
        {
            get;
            set;
        }

        [RequireField]
        [Length(15)]
        public string Name
        {
            get;
            set;
        }

        public string TypeName
        {
            get;
            set;
        }

        public int Weighted
        {
            get;
            set;
        }
    }
}
